using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CameraManager : MonoBehaviour
{
    private TrackedComponent _TrackedComponent;

    public Transform _Target;
    void Start()
    {
        _TrackedComponent = new TrackedComponent();
        _TrackedComponent.Init(gameObject.transform,  _Target.transform);
        _TrackedComponent.StartTrack();
    }

    // Update is called once per frame
    void LateUpdate()
    {
        _TrackedComponent.Update();
    }
}
